package com.example.aircraftwar.aircraftfactory;

import com.example.aircraftwar.aircraft.AbstractEnemy;
import com.example.aircraftwar.aircraft.BossEnemy;
import com.example.aircraftwar.application.game.Game;
import com.example.aircraftwar.application.ImageManager;
import com.example.aircraftwar.application.MainActivity;

public class BossFactory implements AircraftFactory {
    @Override
    public AbstractEnemy createAircraft() {
        return new BossEnemy(
                (int)(Math.random() * (MainActivity.WINDOW_WIDTH - ImageManager.BOSS_ENEMY_IMAGE.getWidth())),
                ImageManager.BOSS_ENEMY_IMAGE.getHeight() / 2,
                10,
                0,
                Game.BossHp,
                5,
                (int)(10 * Game.magnification),
                1
        );
    }
}
